Had to post a new thread, last one was full. |
Re: Functions You can execute the built in menus using void callStdItem_ (MA_StdItem__)
#include <standard/export/office/excel.dxl>
// make the export script not stop after show or block
void show(DB x) { realize x }
void block(DB x) { realize x }
#include <standard/export/office/word.dxl>
// virtually click the "export button"
doExport exportBox
// get rid of the dialog box
if (!null exportBox) { destroy exportBox }
Mathias Mamsch, IT-QBase GmbH, Consultant for Requirement Engineering and D00RS
|
Re: Functions I found that in the DXL Help void create(Module m, Baseline b, string annot) Baseline nextMajor(string suffix) Baseline nextMinor(string suffix) Operation Returns the next major or minor baseline, with or without a suffix. Example create(nextMajor, "alpha review") create(nextMajor "A", "alpha review") Does anyone have a more concrete explanation ? I have A baseline 3.0 of a a module and I want to create a 4.0 with a description. Thanks |
Re: Functions izzo - Wed Oct 27 04:40:03 EDT 2010 But it is not clear : : <Line:120> null Module parameter was passed into argument position 1 -I- DXL: execution halted I have module m=current() on the top of my script How to do if the creation of a baseline close the module ? |
Re: Functions izzo - Wed Oct 27 04:40:03 EDT 2010 As for your other post, IIRC there was some wierd bug that the Baseline commands required that there be a current module, but it didn't have to be the one associated with the baseline. In this case, just set current = mod. You perhaps closed the 'current' module somewhere setting it to null.
|
Re: Functions |